import observe from './observe'

var obj = {
  a: {
    m: {
      n: 5,
    },
  },
  b: 10,
  g:[22,23,24]
}

observe(obj)
obj.g.push(777)
obj.g.splice(2,1,0,1,2)
console.log(obj.g)